fix(regex): complete PPR compatibility - #1319
Merged
Merged
Conversation
fglock
force-pushed
the
fix/ppr-1318-compatibility
branch
from
September 10, 2026 11:18
3d15274 to
fcccfde
Compare
fglock
marked this pull request as ready for review
September 10, 2026 11:23
fglock
force-pushed
the
fix/ppr-1318-compatibility
branch
from
September 10, 2026 11:27
fcccfde to
c93ec7f
Compare
Record the known PPR 0.001010 failures and the staged acceptance plan for issue #1318 before implementation begins. Generated with Codex (https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Treat unordered native capture offsets as nonparticipating captures and keep recursive-call detection on the active call-frame chain. This clears PPR's initial range-error family while preserving the remaining heredoc work for issue #1318. Generated with Codex (https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
Retain PPR's recursive grammar callbacks and capture state while bounding Joni's heap-backed backtracking stack. Exhaustion now follows the existing Perl recursion-exhaustion behavior rather than consuming the JVM heap. Generated with Codex (https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
Correct recursive capture and nullable-call behavior in Joni, preserve callback-bearing regexes during empty-pattern reuse, and cover the resulting PPR grammar paths with focused regressions. Generated with Codex (https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
Preserve Perl's localized diamond-reader behavior for argumentless readline, preventing PPR document_self warnings on the JVM backend. Generated with Codex (https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
Preserve diamond and double-diamond semantics across both backends, including ARGV lifecycle, EOF handling, diagnostics, and ordinary-diamond fork warnings. Generated with Codex (https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
Treat a lone '*' in-place extension as extensionless editing and restore the temporary source when an unhandled error aborts the implicit edit loop. Generated with [Codex](https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
fglock
force-pushed
the
fix/ppr-1318-compatibility
branch
from
September 10, 2026 12:23
c3c8799 to
e2c1348
Compare
Use File::Spec's platform null device so the ARGV lifecycle regression runs on Windows. Generated with [Codex](https://openai.com/codex/) Co-Authored-By: Codex <codex@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
./jcpan -t PPRgate as the PR's final acceptance criterion.Closes #1318.
Status
Draft/WIP. Implementation has not begun; the next step is reducing
t/blocks.tto a permanent project-owned regression test.Validation
make check-linksGenerated with Codex (https://openai.com/codex)